package com.bot.edu.employmentsystem.resume.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.annotations.UpdateTimestamp;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 简历表
 * @Author: jeecg-boot
 * @Date:   2022-04-02
 * @Version: V1.0
 */
@ApiModel(value="employment_resume对象", description="简历表")
@Data
@TableName("employment_resume")
public class EmploymentResume implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    @UpdateTimestamp
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**学生编号*/
	@Excel(name = "学生编号", width = 15, dictTable = "STU", dicText = "STU_NAME", dicCode = "STU_ID")
    @ApiModelProperty(value = "学生编号")
    private String stuId;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "sex")
    @Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private Integer employmentResumeSex;
	/**出生年月*/
	@Excel(name = "出生年月", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "出生年月")
    private java.util.Date employmentResumeBirthday;
	/**当前身份*/
	@Excel(name = "当前身份", width = 15, dicCode = "essential_information_identity")
    @Dict(dicCode = "essential_information_identity")
    @ApiModelProperty(value = "当前身份")
    private Integer employmentResumeIdentity;
	/**户口所在地*/
	@Excel(name = "户口所在地", width = 15)
    @ApiModelProperty(value = "户口所在地")
    private String currentResidence;
	/**现居住地*/
	@Excel(name = "现居住地", width = 15)
    @ApiModelProperty(value = "现居住地")
    private String newCity;
	/**联系方式*/
	@Excel(name = "联系方式", width = 15)
    @ApiModelProperty(value = "联系方式")
    private String tel;
	/**电子邮箱*/
	@Excel(name = "电子邮箱", width = 15)
    @ApiModelProperty(value = "电子邮箱")
    private String mailbox;
	/**工作经历*/
	@Excel(name = "工作经历", width = 15)
    @ApiModelProperty(value = "工作经历")
    private String resumeWorkExperience;
	/**项目经历*/
	@Excel(name = "项目经历", width = 15)
    @ApiModelProperty(value = "项目经历")
    private String resumeProjectExperience;
	/**教育经历*/
	@Excel(name = "教育经历", width = 15)
    @ApiModelProperty(value = "教育经历")
    private String resumeEduExperience;
	/**求职意向*/
	@Excel(name = "求职意向", width = 15)
    @ApiModelProperty(value = "求职意向")
    private String resumeJobIntention;
	/**简历附件*/
	@Excel(name = "简历附件", width = 15)
    @ApiModelProperty(value = "简历附件")
    private String resumeAttachment;
	/**简历状态*/
	@Excel(name = "简历状态", width = 15)
    @ApiModelProperty(value = "简历状态")
    private Integer resumeState;
	/**逻辑删除*/
	@Excel(name = "逻辑删除", width = 15)
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer delFlag;

	//多表联查
    /**
     * 工作经历
     */
    @TableField(exist = false)
    private List<WorkExperience> workExperienceList;

    /**
     * 项目经历
     */
    @TableField(exist = false)
    private List<ProjectExperience> projectExperienceList;

    /**
     * 教育经历
     */
    @TableField(exist = false)
    private List<EducationExperience> educationExperienceList;

    /**
     *   求职意向
     */
    @TableField(exist = false)
    private List<PositonIntention> positonIntentionList;
}

